﻿<%@ page language="C#" autoeventwireup="true" codebehind="Notifications.aspx.cs"
  inherits="fbasync.web.Notifications" async="true" validaterequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title>Notifications</title>
  <link href="main.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <form id="form1" runat="server">
  <div>
    <h1>
      Send Notifications</h1>
    <asp:radiobuttonlist runat="server" id="bl" repeatdirection="Horizontal">
      <asp:listitem selected="true" value="General" text="General"></asp:listitem>
      <asp:listitem selected="false" value="Announcement" text="Announcement"></asp:listitem>
    </asp:radiobuttonlist>
    <asp:textbox runat="server" id="to" text='<%# Connection.UserId %>'></asp:textbox><br />
    <asp:textbox runat="server" id="notification" text=" says hello from fbasync!" width="400"></asp:textbox><br />
    <asp:linkbutton id="send" runat="server" text="Send"></asp:linkbutton><br />
    <asp:literal runat="server" id="result"></asp:literal>
  </div>
  <div>
    <h1>
      Allocations</h1>
    <table cellpadding="2px">
      <asp:repeater runat="server" id="allocations">
        <itemtemplate>
          <tr>
            <td>
              <strong><%# Eval("Key") %></strong>
            </td>
            <td>
              <%# Eval("Value") %>
            </td>
          </tr>
        </itemtemplate>
      </asp:repeater>
    </table>
  </div>
  </form>
</body>
</html>
